import Cookies from 'js-cookie'

const userInfoKey = 'USER-INFO'

export const getUserInfo = () => Cookies.get(userInfoKey)

export const setUserInfo = (userInfo) => Cookies.set(userInfoKey, JSON.stringify(userInfo))

export const removeUserInfo = () => Cookies.remove(userInfoKey)
